package cn.iocoder.yudao.module.monitor.convert.realtime;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.monitor.controller.admin.realtime.vo.*;
import cn.iocoder.yudao.module.monitor.dal.dataobject.realtime.RealTimeDO;

/**
 * 监控 Convert
 *
 * @author 左达成
 */
@Mapper
public interface RealTimeConvert {

    RealTimeConvert INSTANCE = Mappers.getMapper(RealTimeConvert.class);

    RealTimeDO convert(RealTimeCreateReqVO bean);

    RealTimeDO convert(RealTimeUpdateReqVO bean);

    RealTimeRespVO convert(RealTimeDO bean);

    List<RealTimeRespVO> convertList(List<RealTimeDO> list);

    PageResult<RealTimeRespVO> convertPage(PageResult<RealTimeDO> page);

    List<RealTimeExcelVO> convertList02(List<RealTimeDO> list);

}
